package com.anjubao.parking.municipal.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 验证码Dto
 * @author zhuchunfeng
 * @date 2019/6/19 11:16
 */

@ApiModel("验证码")
@Data
@Accessors(chain = true)
public class CaptchaDto {

    @ApiModelProperty("验证码失效时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expireTime;

    @ApiModelProperty("验证码有效时间 单位分钟")
    private Integer timeInterval;

    @ApiModelProperty("验证码")
    private String captcha;

}

